Compute the mean of this RDDs elements.

21

sc.parallelize([1, 2, 3]).mean()
# 2.0

Comments

Submit
0 Comments